class Emot {
  html() {
    const emo = {
      1: '糗大了',
      2: '示爱',
      3: '晕',
      4: '酷',
      5: '流泪',
      6: '饿了',
      7: '闭嘴',
      8: '做鬼脸',
      9: '馋',
      10: '坏笑',
      11: '抓狂',
      12: '呵呵',
      13: '淡定',
      14: '冷汗',
      15: '色',
      16: '惊讶',
      17: '希望',
      18: '伤心',
      19: '微笑',
      20: '惊吓',
      21: '哈哈',
      22: '吃饭',
      23: '观察',
      24: '高兴',
      25: '皱眉',
      26: '大囧',
      27: '邪恶',
      28: '锁眉',
      29: '惊喜',
      30: '小怒',
      31: '无语',
      32: '傻笑',
      33: '黑线',
      34: '喜极而泣',
      35: '口水',
      36: '不说话',
      37: '抽烟',
      38: '汗',
      39: '尴尬',
      40: '小眼睛',
      41: '龇牙',
      42: '亲亲',
      43: '哭泣',
      44: '大吃一惊',
      45: '狂汗',
      46: '不高兴',
      47: '得意',
      48: '阴脸',
      49: '装大款',
      50: '吐舌',
      51: '暗地观察',
      52: '吐血',
      53: '脸红',
      54: '肿包',
      55: '抠鼻',
      56: '赞一个',
      57: '中指',
      58: '期待',
      59: '倒地',
      60: '火冒三丈',
      61: '吐',
      62: '喷水',
      63: '喷血',
      64: '蜡烛',
      65: '想一想',
      66: '认真听讲',
      67: '不好意思',
      68: '欢呼',
      69: '便便',
      70: '鼓掌',
      71: '深思',
      72: '示爱',
      73: '苦恼',
      74: '长草',
      75: '无所谓',
      76: '咽气',
      77: '投降',
      78: '没看见',
      79: '击掌',
      80: '献黄瓜',
      81: '献花',
      82: '撞墙',
      83: '中刀',
      84: '中枪'
    }
    let h = `<div class="smileBoxOuter" id="smileBoxOuter" tabindex="2"><ul class="smileBox">`
    Object.keys(emo).map(item => {
      if (item === '44') {
        h += `<li><a href="javascript:void(0)" class="smile${item}" title="${emo[item]}"></a></li></ul><ul class="smileBox" style="display:none;">`
      } else {
        h += `<li><a href="javascript:void(0)" class="smile${item}" title="${emo[item]}"></a></li>`
      }
    })
    h += `</ul><div class="smilePage"><a href="javascript:void(0)" class="current">1</a><a href="javascript:void(0)">2</a></div></div>`
    return h
  }
}

export default Emot
